//  -------------------- iSharePoint -------------------- //
// 
//  Company:	IT Complex, LLC
//  Project:	Smart.Common
//  File name:	ICacheEntryValue.cs
//  Developer:	Solomatov Igor
//  Created:	15.04.2012
// 
//  -------------------- iSharePoint -------------------- //

namespace Smart.Common
{
	/// <summary>
	/// Base class for SPCacheEntryValue with non-generic methods
	/// </summary>
	public interface ICacheEntryValue
	{
		/// <summary>
		/// Return value
		/// </summary>
		/// <returns></returns>
		object Get();

		/// <summary>
		/// Checks expirity
		/// </summary>
		bool IsExpired { get; }
	}
}